/*
 * Copyright 2015 Hongxin Telecommunication Technologies Co, Ltd.,
 * Wuhan, Hubei, China. All rights reserved.
 */
package com.hxrd.data;

/**
 *
 * @author chenwei Created on 2016-12-26, 19:18:32
 */
public class Device
{
	private int id;
	private int areaId;//地市
	private int venderId;//厂商
	private int modelId;//设备型号
	private String numberId;//AC编号
	private String ip;//AC地址
	private int masterId;//1:主；0:备
	private String nasip;
	private String username;
	private String password;
	private String community;
	private int port = 161;
	private int version = 1;

	/**
	 * @return the id
	 */
	public int getId()
	{
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id)
	{
		this.id = id;
	}

	/**
	 * @return the areaId
	 */
	public int getAreaId()
	{
		return areaId;
	}

	/**
	 * @param areaId the areaId to set
	 */
	public void setAreaId(int areaId)
	{
		this.areaId = areaId;
	}

	/**
	 * @return the venderId
	 */
	public int getVenderId()
	{
		return venderId;
	}

	/**
	 * @param venderId the venderId to set
	 */
	public void setVenderId(int venderId)
	{
		this.venderId = venderId;
	}

	/**
	 * @return the modelId
	 */
	public int getModelId()
	{
		return modelId;
	}

	/**
	 * @param modelId the modelId to set
	 */
	public void setModelId(int modelId)
	{
		this.modelId = modelId;
	}

	
	/**
	 * @return the NumberId
	 */
	public String getNumberId()
	{
		return numberId;
	}
	
         /**
	 * @param NumberId  the numberId to set
	 */
	public void setNumberId(String numberId)
	{
		this.numberId = numberId;
	}
	/**
	 * @return the physicalip
	 */
	public String getIp()
	{
		return ip;
	}

	/**
	 * @param physicalip the physicalip to set
	 */
	public void setIp(String ip)
	{
		this.ip = ip;
	}

	/**
	 * @return the masterId
	 */
	public int getMasterId()
	{
		return masterId;
	}

	/**
	 * @param masterId the masterId to set
	 */
	public void setMasterId(int masterId)
	{
		this.masterId = masterId;
	}

	/**
	 * @return the username
	 */
	public String getUsername()
	{
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username)
	{
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword()
	{
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password)
	{
		this.password = password;
	}

	/**
	 * @return the community
	 */
	public String getCommunity()
	{
		return community;
	}

	/**
	 * @param community the community to set
	 */
	public void setCommunity(String community)
	{
		this.community = community;
	}

	/**
	 * @return the port
	 */
	public int getPort()
	{
		return port;
	}

	/**
	 * @param port the port to set
	 */
	public void setPort(int port)
	{
		this.port = port;
	}

	/**
	 * @return the version
	 */
	public int getVersion()
	{
		return version;
	}

	/**
	 * @param version the version to set
	 */
	public void setVersion(int version)
	{
		this.version = version;
	}

	/**
	 * @return the nasip
	 */
	public String getNasip()
	{
		return nasip;
	}

	/**
	 * @param nasip the nasip to set
	 */
	public void setNasip(String nasip)
	{
		this.nasip = nasip;
	}

}
